package com.suthund.bean;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.suthund.bean.common.BaseModelAuditAble;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
/**
 *
 * Created by 杨康 on 2017/4/18.
 */
@Table(name="manager")
@Entity
@JsonIgnoreProperties(ignoreUnknown = true)
public class ManagerPO extends BaseModelAuditAble {

    @Column(name="name")
    private String name;

    @Column(name="age")
    private Integer age;

    @Column(name = "sex")
    private String sex;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getAge() {
        return age;
    }

    public void setAge(Integer age) {
        this.age = age;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    @Override
    public String toString() {
        return "ManagerPO{" +
                "name='" + name + '\'' +
                ", age=" + age +
                ", sex='" + sex + '\'' +
                '}';
    }
}
